package com.iemes.mapper.metals;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.iemes.entity.PurchaseSesaleStockFromMap;
import com.iemes.mapper.base.BaseMapper;

public interface PurchaseSaleStockMapper extends BaseMapper {

	List<Map<String,Object>> getAllInfo();
	
	List<PurchaseSesaleStockFromMap> getPurchaseSesaleStockDateCheck(@Param(value = "Mindate") String MinDt,@Param(value = "Maxdate") String MaxDt);
	
	PurchaseSesaleStockFromMap getPurchaseSesaleStockDateCheck2(@Param(value = "Mindate") String MinDt,@Param(value = "Maxdate") String MaxDt,@Param(value = "materialId") int materialId);
	
	List<PurchaseSesaleStockFromMap> getPurchaseSesaleStockDateIN(@Param(value ="Mindate") String MinDt,@Param(value ="Maxdate") String MaxDt,@Param(value ="materialId") int materialId);
	
	List<PurchaseSesaleStockFromMap> getPurchaseSesaleStockDateOut(@Param(value ="Mindate") String MinDt,@Param(value ="Maxdate") String MaxDt,@Param(value ="materialId") int materialId);

}
